
using System;
using UnityEngine;
public class CameraMgr : MonoBehaviour{

    private Camera mainCamera;
    private static CameraMgr instance_;
    public static CameraMgr GetInstance(){
        return instance_;
    }

    public void Awake(){
        instance_ = this;
        //mainCamera = GetTree().Root.GetNode("Camera2D") as Camera2D;
        if(mainCamera == null){
            Debug.Log("mainCamera == null");
            return;
        }
        //var globalPositionOfCameraCenter = mainCamera.GetScreenCenterPosition();
        //GD.Print($"globalPositionOfCameraCenter:{globalPositionOfCameraCenter}");

    }

    public bool IsPositionInCameraAera(){
        return false;
    }
}